<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/clientTemplate.css">
        <link rel="stylesheet" type="text/css" href="css/mailControl.css">
        <script src="js/ajaxPaging.js" type="text/javascript"></script>
        <script src="js/ajaxDeleteMails.js" type="text/javascript"></script>
        <script src="js/ajaxCountPage.js" type="text/javascript"></script>
        
        <title>Client Template</title>
    </head>
    <body onload="getMailList(1, 0); countPage(0);">
        <center>
            <table id="tableClientTemplate">
                <tr id="headerClientTemplate">
                    <td><%@include file="clientHeader.jsp" %></td>
                </tr>
                <tr id="middleClientTemplate">
                    <td>
                        <table>
                            <td class="tdControl2"><a class="three" href="inbox.jsp">Inbox</a></td>
                            <td class="tdControl"><a class="three" href="sentMail.jsp">Sent Mail</a></td>
                            <td class="tdControl2"><a class="three" href="composeMail.jsp">Compose Mail</a></td>
                        </table>
                        <input type="button" value="Delete" onclick="deleteMails();"/>
                        <br/><br/>
                        <form action="" name="mailList" method="get">
                            <div id="list"></div>

                            <div id="pageList"></div>
                        </form>
                    </td>
                </tr>
                <tr id="footerClientTemplate">
                    <td><%@include file="clientFooter.jsp" %></td>
                </tr>
            </table>
        </center>
    </body>
</html>
